Skip to content

Add an CML option to clear the application cache#160

Merged
paulromano merged 1 commit into
openmc-dev:developfrom
pshriwise:clear-cache-option
Nov 22, 2024
Merged

Add an CML option to clear the application cache#160
paulromano merged 1 commit into
openmc-dev:developfrom
pshriwise:clear-cache-option

Conversation

@pshriwise

Copy link
Copy Markdown
Collaborator

A few users have reached out about problems related to crashed caused by the Qt application configuration state, which manifests itself in a few ways. See:

Often the answer to these solutions is to remove the plotter configuration file manually (usually in ~/.config/OpenMC). The QtSettings allows one to clear this cache programmatically, so rather than having users taking this step manually this PR provides an option to do so with a --clear-cache flag that can be passed via the CML to the plotter application.

@paulromano paulromano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pshriwise!

@paulromano paulromano merged commit 80086ba into openmc-dev:develop Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants